home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / CScrollList 1.0 / CScrollList Classes / CStateArray.h < prev   
Encoding:
C/C++ Source or Header  |  1994-11-30  |  611 b   |  33 lines  |  [TEXT/KAHL]

  1. /*************************************************************************************
  2.  
  3.  CStateArray.h
  4.     
  5.         Interface for CStateArray
  6.     
  7.     SUPERCLASS = CArray
  8.     
  9.         © 1992 Dave Harkness
  10.  
  11. *************************************************************************************/
  12.  
  13.  
  14. #define _H_CStateArray
  15.  
  16. #include <CArray.h>
  17.  
  18.  
  19. class CStateArray : public CArray
  20. {
  21. public:
  22.  
  23.     void            IStateArray( long howMany, short fState);
  24.     
  25.             // State Access
  26.     
  27.     virtual void    SetState( long index, short fState);
  28.     virtual void    ToggleState( long index);
  29.     virtual short    GetState( long index);
  30.     virtual void    SetAllStates( short fState);
  31.  
  32. };
  33.